// @ts-ignore
/* eslint-disable */
// import { request } from 'umi';
import { api } from '@/utils/api'


/**  POST /api/rule */
export async function fileList(data: { [key: string]: any }, options?: { [key: string]: any }) {
  return api('/api/common/file/list', data);
}

/**
 * 删除
 * @param data
 * @param options
 * @returns
 */
export function deleteFile(data: { [key: string]: any }, options?: { [key: string]: any }) {
  return api('/api/common/file/del', data);
}
